package com.java2_15;

public class Cat1 extends Animal1 {

    public Cat1() {
    }

    public Cat1(int age, String color) {
        super(age, color);
    }

    @Override
    public void eat(String something) {
        System.out.println(getAge() + "岁的" + getColor() + "颜色的猫眯着眼睛侧着头吃" + something);
    }
    public void catchMouse(){
        System.out.println("猫正在抓老鼠");
    }
}
